﻿using System.Windows.Controls;

using Matchingo.Common.Types.Interfaces;
using Matchingo.Common.Types.Types;
using Matchingo.UserControls.PlainCardControl;

namespace Matchingo.Models.CardControlFactory
{
    public class CardUserControlFactory : ICardUserControlFactory
    {
        public UserControl GetCardUserControl(Card c, Image frontImage)
        {
            PlainCardUserControl userControl = new PlainCardUserControl(c, frontImage);
            return userControl;
        }
    }
}
